home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / DragASpr / DLLClient / MkClientOs
Text File  |  1995-07-08  |  1KB  |  61 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.DragIcon    \
  4.             o.Start    \
  5.             o.Stop    \
  6.  
  7.  
  8. LibName        =    DragASpr
  9.  
  10.  
  11.  
  12. # Template makefile to make all .o files
  13. # for a DeskLib sublibrary. Compilation 
  14. # is for static linking with client
  15. # applications (ie not cc -zM but
  16. # _DeskLib_SDLS_CLIENT is predefined).
  17.  
  18. # The macro $(ObjectFiles) should be set at the 
  19. # start of this file, to be a space-separated
  20. # list of object files.
  21. # This is done by 'Makatic'.
  22.  
  23. # The macro $(LibName) should also be set at the 
  24. # start of this file, to be the name of the 
  25. # DeskLib sublibrary.
  26.  
  27. # Compiler flags, These can be anything. 
  28. # All essential flags (eg CC -zM
  29. # are included in the macro $(CC).
  30. #
  31. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  32. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  33.  
  34. CC        =    cc -c $(CCFlags)
  35. ASM        =    ObjAsm $(ASMFlags)
  36.  
  37.  
  38. # -------------------------------------------------------
  39. # Everything below here should probably not be changed...
  40. # -------------------------------------------------------
  41.  
  42. # Here's what we want to make...
  43. #
  44. All:    $(ObjectFiles)
  45.  
  46.  
  47. VPATH = @.^
  48.  
  49. .SUFFIXES:    .o .c .s
  50.  
  51. .c.o:
  52.     $(CC) -o $@ $<
  53.  
  54. .s.o:
  55.     $(ASM) $(ASMFlags) -from $< -to $@
  56.  
  57.  
  58.  
  59. # Dynamic dependencies:
  60.